package cn.net.xyan.finereport.plugin.crack;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;

/**
 * Created by zarra on 16/12/12.
 */
@WebListener
public class CrackListener implements ServletContextListener {
    @Override
    public void contextInitialized(ServletContextEvent servletContextEvent) {
        CrackService.doCrack();
    }

    @Override
    public void contextDestroyed(ServletContextEvent servletContextEvent) {

    }
}
